package com.hoshiicloud.user.param.organization;

import io.swagger.annotations.ApiParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
* <p>
* 新增店铺供应商附件参数
* </p>
*
* @author campchen
* @since 2019-04-28
*/

@Data
@ApiModel(value="新增店铺供应商附件", description="新增店铺供应商附件")
public class StoreOrganizationAttachmentAddParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "供应商ID 由系统自动传递",required = true,example = "3234906557745463516")
    @NotNull(message = "供应商ID不能为空")
    private Long vendorId;

    @ApiModelProperty(value = "附件名称",required = true,example = "好货严选采购附件")
    @NotBlank(message = "附件名称不能为空")
    private String attachName;
    
    @ApiModelProperty(value = "附件地址",required = true)
    @NotBlank(message = "附件地址不能为空")
    private String attachUrl;

    @ApiModelProperty(value = "有效期")
    private String expirationDate;

    @ApiModelProperty(value = "创建人 由系统自动传递",required = true,example = "test777")
    private String createdBy;
    
    

}
